<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    </head>
    <body>
        <!-- 
            1. Object.defineProperty   监听对象属性的改变

            2.发布订阅者模式


         -->
        <div id="app">
            {{message}}
        </div>
        <script src="./vue.js"></script>
        <script>
            const app = new Vue({
                el:"#app",
                data:{
                    message:'哈哈'
                }
            })
        </script>
    </body>
</html>